package Ramdom;
/*
 *生成1-n之间的随机整数
 * */
import java.util.Random;

public class Ramdom1 {
    public static void main(String[] args) {
        int n = 100;
        Random i = new Random();

        for (int j = 0; j < 10; j++) {
            System.out.println(i.nextInt(n) + 1);
        }
    }
}
